require(["config"], function(){
	require(["jquery","template", "header", "footer","fixed"], function($,template){
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/lib/list", function(data){
			const html = template("template_container", {list_shop : data.res_body.data});
			$(".box1").html(html);
			
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html1 = template("template_shopping", {shopping : data.res_body.data});
			$(".box2_bottom").html(html1);
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html3 = template("template3_shopping", {shopping : data.res_body.data});
			$(".box3_bottom").html(html3);
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html4 = template("template4_shopping", {shopping : data.res_body.data});
			$(".box4_bottom").html(html4);
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html5 = template("template5_shopping", {shopping : data.res_body.data});
			$(".box5_bottom").html(html5);
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html6 = template("template6_shopping", {shopping : data.res_body.data});
			$(".box6_bottom").html(html6);
		})
		$.getJSON("http://rap2api.taobao.org/app/mock/25936/hahaha/nishiyigedaxigua", function(data){
			const html7 = template("template7_shopping", {shopping : data.res_body.data});
			$(".box7_bottom").html(html7);
		})
	});
});
